package com.cyt.${module}.dao;

import com.cyt.base.dao.BaseDao;
import com.cyt.${module}.model.po.${entity};
<#if (fieldIsRelate?? && fieldIsRelate !='') || (showIsRelate?? && showIsRelate !='')>
import com.cyt.${module}.model.vo.${entity}Vo;
</#if>
import org.springframework.stereotype.Repository;
<#if (fieldIsRelate?? && fieldIsRelate !='') || (showIsRelate?? && showIsRelate !='')>

import java.util.List;
</#if>

/**
 * ${tableComment}Dao层接口类
 *
 * @author ${author}
 * @date ${.now}
 */
@Repository
public interface ${entity}Dao extends BaseDao<${entity}> {
    <#if (fieldIsRelate?? && fieldIsRelate !='') || (showIsRelate?? && showIsRelate !='')>

    /**
     * 根据条件查询
     *
     * @param ${entity?uncap_first}Vo 参数接受对象
     * @return List<${entity}Vo>
     * @author ${author}
     * @date ${.now}
     */
    List<${entity}Vo> selectByCondition(${entity}Vo ${entity?uncap_first}Vo);
    </#if>
}